//package com.mjf.system.cjt.controller;
//
//import com.ld.transfer.common.cjt.service.CjtAuthService;
//import com.ld.transfer.common.response.ResponseCode;
//import com.ld.transfer.common.response.ResponseVO;
//import com.mjf.system.cjt.service.CjtAuthService;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.RequestParam;
//import org.springframework.web.bind.annotation.ResponseBody;
//import org.springframework.web.bind.annotation.RestController;
//
//@RestController
//@Slf4j
//@Api(tags = "获取token")
//public class TokenController {
//
//     @Autowired
//     private CjtAuthService cjtAuthService;
//
//     @GetMapping("/token")
//    @ApiOperation(value = "根据orgId获取畅捷通token", notes = "根据orgId获取畅捷通token")
//    @ResponseBody
//    public ResponseVO<String> doCjtToken(@RequestParam(value = "orgId") String orgId) {
//        try {
//            return new ResponseVO("200", "执行成功", cjtAuthService.getToken(orgId), null);
//        } catch (Exception e) {
//            e.printStackTrace();
//
//        }
//        return new ResponseVO(ResponseCode.RESPONSE_CODE_TOKEN_EMPTY.getCode(), ResponseCode.RESPONSE_CODE_TOKEN_EMPTY.getMessage(), "", null);
//    }
//}
